/* ========================================
   SIGUE LS - TEMA BANCARIO (BOOTSTRAP VERSION)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    --color-azul-marino: #002A54;
    --color-azul-petroleo: #004B67;
    --color-azul-panista: #005BAA;
    --color-rojo: #EC0000;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fff;
}

/* --- SECCIÓN AZUL (Izquierda en PC, Arriba en Móvil) --- */
.section-blue {
    background-color: var(--color-azul-marino);
    color: white;
    /* Móvil: Altura fija pequeña para que se vea el header */
    min-height: 30vh;
    overflow: hidden;
    /* Para recortar el mosaico si se sale */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Mosaico Decorativo */
.photo-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 280px;
    height: 180px;
}

.mosaic-item {
    background-color: transparent;
    /* Quitamos el fondo blanco/gris */
    border-radius: 8px;
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
    background-size: cover;
    background-position: center;
}

.mosaic-item:hover {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10;
}

/* Asignación de imágenes */
.item-1 {
    background-image: url('../imagenes/atirantado.jpg');
}

.item-2 {
    background-image: url('../imagenes/tel.jpg');
}

.item-3 {
    background-image: url('../imagenes/red.jpg');
}

.item-4 {
    background-image: url('../imagenes/personas.jpg');
}

.item-5 {
    background-image: url('../imagenes/personas2.jpg');
}

.item-6 {
    background-image: url('../imagenes/gente.jpg');
}

/* --- SECCIÓN BLANCA (Derecha en PC, Abajo en Móvil) --- */
.section-white {
    background-color: white;
    min-height: 70vh;
    /* El resto de la altura en móvil */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Textos y Botones */
.greeting-text {
    font-weight: 900;
    color: #333;
    margin-bottom: 2rem;
}

.input-styled {
    height: 55px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FAFAFA;
    padding-left: 1.2rem;
    font-size: 1rem;
}

.input-styled:focus {
    border-color: var(--color-azul-marino);
    background-color: #fff;
    box-shadow: none;
}

.btn-ingresar {
    height: 50px;
    border-radius: 25px;
    background-color: var(--color-azul-petroleo);
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    transition: all 0.2s;
}

.btn-ingresar:hover {
    background-color: #003850;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.link-panista {
    color: var(--color-azul-panista);
    font-weight: 700;
}

.link-rojo {
    color: var(--color-rojo);
    font-weight: 500;
}

/* --- RESPONSIVE: ESCRITORIO (min-width: 768px) --- */
@media (min-width: 768px) {

    /* En PC, ambas secciones ocupan toda la altura */
    .section-blue,
    .section-white {
        min-height: 100vh;
    }

    .app-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .photo-mosaic {
        width: 360px;
        height: 240px;

        /* CAMBIO AQUÍ: Subir de 0.1 a 0.5 o 0.6 */
        opacity: 0.5;

        transform: none;
    }

    /* Sombra elegante para separar el blanco del azul */
    .section-white {
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 10;
    }
}